class Page < ActiveRecord::Base
  
  acts_as_taggable
  acts_as_tree
  
  validates_presence_of :body
  validates_length_of :title, :within => 3..40
  
  belongs_to :user
  
  named_url :key => 'title', :url_column => 'url_slug'
  
  acts_as_authored
end
